package com.homeWork;

public class BenCi extends Car {
    private double price;
    private  String type;
    public BenCi() {

    }

    public BenCi(String kind, double price, String type) {
        super(kind);
        this.price = price;
        this.type = type;
    }
    public void speed(){
        System.out.println("我的功能是加速");
    }
}
